//
//  WeatherModel.h
//  WeatherOFChangsha
//
//  Created by zkingsoft on 15/12/15.
//  Copyright (c) 2015年 zkingsoft. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface WeatherModel : NSObject

@property (nonatomic, copy) NSString *date; // 请求日期
@property (nonatomic, copy) NSString *error;
@property (nonatomic, copy) NSString *results;
@property (nonatomic, copy) NSString *currentCity;// 当前城市
@property (nonatomic, retain) NSArray *index; // 天气介绍
@property (nonatomic, copy) NSString *pm25; // pm25值
@property (nonatomic, retain) NSArray *weather_data; // 天气情况
@property (nonatomic, copy) NSString *status; // 请求状态


// 使用一个字典初始化数据
- (instancetype)initWithDictionary:(NSDictionary *)dic;


// 请求数据的接口
- (void)RequestWeatherDataWithCityName:(NSString *)cityName;

@end
